package com.ruanyuan.springboot.service.impl;

import com.ruanyuan.springboot.dao.AddressDao;
import com.ruanyuan.springboot.pojo.Address;
import com.ruanyuan.springboot.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 地址表业务层接口实现类
 */
@Service
public class AddressServiceImpl implements AddressService {
    @Autowired
    private AddressDao AddressDao;
    /**
     * 查询全部信息
     * @return
     */
    @Override
    public List<Address> seleteAddress() {
        return this.AddressDao.seleteAddress();
    }
}
